﻿<!doctype html>
<html class="no-js" lang="zxx" xmlns:th="http://www.thymeleaf.org">

<div th:replace="layout::head(${title},${desc})"></div>

<body>

    
<div id="main-wrapper">

    <!--Header section start-->
    <div th:replace="layout::header"></div>
    <!--Header section end-->

    <!--Page Banner Section start-->
    <div th:replace="layout::pageBanner(${info})"></div>
    <!--Page Banner Section end-->


    <!--New property section start-->
    <div class="property-section section pt-100 pt-lg-80 pt-md-70 pt-sm-60 pt-xs-50 pb-100 pb-lg-80 pb-md-70 pb-sm-60 pb-xs-50">
        <div class="container">
            <div class="row">
            
                <div class="col-lg-8 col-12 order-1 order-lg-2 mb-sm-50 mb-xs-50">
                    <div class="row">

                        <!--Property start-->
                        <div class="single-property col-12 mb-50">
                            <div class="property-inner">
                               
                                <div class="head">
                                    <div class="left">
                                        <h1 class="title" th:text="${vo.properties.title}"></h1>
                                        <span class="location" th:text="${vo.properties.address}"><img src="assets/images/icons/marker.png" alt="" ></span>
                                    </div>
                                    <div class="right">
                                        <div class="type-wrap">
                                            <span class="price" th:text="${vo.properties.price}"><span>Month</span></span>
                                            <span class="type" th:text="${vo.propertiesRentType.typeName}"></span>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="image mb-30">
                                    <img th:src="${vo.properties.pictureUrl}" alt="">
                                </div>
                                
                                <div class="content">
                                    
                                    <h3>Description</h3>
                                    
                                    <p th:text="${vo.properties.description}"></p>
                                    
                                    <div class="row mt-30 mb-30">
                                        
                                        <div class="col-md-5 col-12 mb-xs-30">
                                            <h3>Condition</h3>
                                            <ul class="feature-list">
                                                <li th:text="${'Area '+vo.properties.square+' sqft'}"><div class="image"><img src="assets/images/icons/area.png" alt=""></div></li>
                                                <li th:text="${'Bedroom '+vo.properties.roomNumber}"><div class="image"><img src="assets/images/icons/bed.png" alt=""></div></li>
                                                <li th:text="${'Bathroom '+vo.properties.bathroomNumber}"><div class="image"><img src="assets/images/icons/bath.png" alt=""></div></li>
                                                <li th:text="${'Garage '+vo.properties.garageNumber}"><div class="image"><img src="assets/images/icons/parking.png" alt=""></div></li>
                                                <li th:text="${'Kitchen '+vo.properties.kitchenNumber}"><div class="image"><img src="assets/images/icons/kitchen.png" alt=""></div></li>
                                            </ul>
                                        </div>
                                        
                                        <div class="col-md-7 col-12">
                                            <h3>Amenities</h3>
                                            <ul class="amenities-list">
                                                <li th:if="${vo.properties.isRealtyManagement}!=0">RealtyManagement</li>
                                                <li th:if="${vo.properties.isElectric}!=0 ">Electric</li>
                                                <li th:if="${vo.properties.isWater}!=0">Water</li>
                                                <li th:if="${vo.properties.isAirConditioning}!=0">Air Conditioning</li>
                                                <li th:if="${vo.properties.isFurniture}!=0">Furniture</li>
                                                <li th:if="${vo.properties.isBalcony}!=0">Balcony</li>
                                                <li th:if="${vo.properties.isCabletv}!=0 ">Cabletv</li>
                                                <li th:if="${vo.properties.isParking}!=0 ">Parking</li>
                                                <li th:if="${vo.properties.isLift}!=0 ">Lift</li>
                                                <li th:if="${vo.properties.isPool}!=0 ">Pool</li>
                                                <li th:if="${vo.properties.isDishwater}!=0 ">Dishwater</li>
                                                <li th:if="${vo.properties.isFerigerator}!=0">Ferigerator</li>
                                                <li th:if="${vo.properties.isKitchenUtensils}!=0 ">KitchenUtensils</li>
                                                <li th:if="${vo.properties.isNaturalGas} !=0">NaturalGas</li>
                                            </ul>
                                        </div>
                                        
                                    </div>
                                    
                                    <div class="row">
                                        <div class="col-12 mb-30">
                                            <h3>Video</h3>
                                            <div class="embed-responsive embed-responsive-16by9">
                                                <iframe class="embed-responsive-item" th:src="${vo.properties.videoUrl}!=''?:'https://www.youtube.com/embed/8CbvItGX7Vk' "></iframe>
                                            </div>
                                        </div>
                                        <div class="col-12">
                                            <h3>Location</h3>
                                            <div class="embed-responsive embed-responsive-16by9">
                                                <div id="single-property-map" class="embed-responsive-item google-map" data-lat="40.740178" data-Long="-74.190194"></div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                </div>
                            </div>
                        </div>
                        <!--Property end-->
                        
                        <!--Comment start-->
                        <div class="comment-wrap col-12">
                            <h3>3 Feedback</h3>

                            <ul class="comment-list">
                                <li>
                                    <div class="comment">
                                        <div class="image"><img src="assets/images/review/review-1.jpg" alt=""></div>
                                        <div class="content">
                                            <h5>Alvaro Santos</h5>
                                            <div class="d-flex flex-wrap justify-content-between">
                                                <span class="time">10 August, 2018  |  10 Min ago</span>
                                                <a href="#" class="reply">reply</a>
                                            </div>
                                            <div class="decs">
                                                <p>But I must explain to you how all this mistaken idea of denouncing pleasure and ising pain  borand I will give you a complete account of the system</p>
                                            </div>
                                        </div>
                                    </div>
                                    <ul class="child-comment">
                                        <li>
                                            <div class="comment">
                                                <div class="image"><img src="assets/images/review/review-2.jpg" alt=""></div>
                                                <div class="content">
                                                    <h5>Silvia Anderson</h5>
                                                    <div class="d-flex flex-wrap justify-content-between">
                                                        <span class="time">10 August, 2018  |  25 Min ago</span>
                                                        <a href="#" class="reply">reply</a>
                                                    </div>
                                                    <div class="decs">
                                                        <p>But I must explain to you how all this mistaken idea of denouncing pleasure and ising pain  borand I will give you a complete account of the system</p>
                                                    </div>
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </li>
                                <li>
                                    <div class="comment">
                                        <div class="image"><img src="assets/images/review/review-3.jpg" alt=""></div>
                                        <div class="content">
                                            <h5>Nicolus Christopher</h5>
                                            <div class="d-flex flex-wrap justify-content-between">
                                                <span class="time">10 August, 2018  |  35 Min ago</span>
                                                <a href="#" class="reply">reply</a>
                                            </div>
                                            <div class="decs">
                                                <p>But I must explain to you how all this mistaken idea of denouncing pleasure and ising pain  borand I will give you a complete account of the system</p>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                            </ul>

                            <h3>Leave a Feedback</h3>

                            <div class="comment-form">
                                <form action="#">
                                    <div class="row">
                                        <div class="col-md-6 col-12 mb-30"><input type="text" placeholder="Name"></div>
                                        <div class="col-md-6 col-12 mb-30"><input type="email" placeholder="Email"></div>
                                        <div class="col-12 mb-30"><textarea placeholder="Message"></textarea></div>
                                        <div class="col-12"><button class="btn">send now</button></div>
                                    </div>
                                </form>
                            </div>
                        
                        </div>
                        <!--Comment end-->

                    </div>
                </div>
                
                <div class="col-lg-4 col-12 order-2 order-lg-1 pr-30 pr-sm-15 pr-xs-15">
                    
                    <!--Sidebar start-->
                    <div class="sidebar">
                        <h4 class="sidebar-title"><span class="text">Search Property</span><span class="shape"></span></h4>
                        
                    
                        <!--Property Search start-->
                        <div class="property-search sidebar-property-search">

                            <form action="#">

                                <div>
                                    <input type="text" placeholder="位置">
                                </div>

                                <div>
                                    <select class="nice-select">
                                        <option>所有城市</option>
                                        <option>北京</option>
                                        <option>上海</option>
                                        <option>广州</option>
                                        <option>深圳</option>
                                        <option>成都</option>
                                        <option>重庆</option>
                                        <option>武汉</option>
                                        <option>沈阳</option>
                                        <option>福州</option>
                                        <option>厦门</option>
                                        <option>银川</option>
                                        <option>拉萨</option>
                                        <option>绵阳</option>
                                        <option>遂宁</option>
                                        <option>攀枝花</option>
                                        <<option>简阳</option>
                                        <option>德阳</option>
                                        <option>金堂</option>
                                        <option>泸州</option>
                                        <option>内江</option>
                                        <option>阆中</option>
                                    </select>
                                </div>

                                <div>
                                    <select class="nice-select">
                                        <option>租房</option>
                                        <option>卖房</option>
                                    </select>
                                </div>

                                <div>
                                    <select class="nice-select">
                                        <option>类型</option>
                                        <option>公寓</option>
                                        <option>咖啡馆</option>
                                        <option>住宅</option>
                                        <option>餐馆</option>
                                        <option>商店</option>
                                        <option>别墅</option>
                                    </select>
                                </div>

                                <div>
                                    <select class="nice-select">
                                        <option>房间数</option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                        <option>5</option>
                                        <option>6</option>
                                    </select>
                                </div>

                                <div>
                                    <select class="nice-select">
                                        <option>卫生间数</option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                        <option>5</option>
                                        <option>6</option>
                                    </select>
                                </div>

                                <div>
                                    <div id="search-price-range"></div>
                                </div>

                                <div>
                                    <button>搜索</button>
                                </div>

                            </form>

                        </div>
                        <!--Property Search end-->
                        
                    </div>
                    <!--Sidebar end-->
                    
                    <!--Sidebar start-->
                    <div class="sidebar">
                        <h4 class="sidebar-title"><span class="text">Feature Property</span><span class="shape"></span></h4>
                        
                        <!--Sidebar Property start-->
                        <div class="sidebar-property-list">


                            <div class="sidebar-property" th:each="andRentTypeVO1:${andRentTypeVOS1}">
                                <div class="image">
                                    <span class="type" th:text="${andRentTypeVO1.propertiesRentType.typeName}"></span>
                                    <a href="single-properties.html"><img th:src="${andRentTypeVO1.properties.pictureUrl}" alt=""></a>
                                </div>
                                <div class="content">
                                    <h5 class="title"><a href="single-properties.html" th:text="${andRentTypeVO1.properties.title}"></a></h5>
                                    <span class="location"><img src="assets/images/icons/marker.png" alt="" th:text="${andRentTypeVO1.properties.address}"></span>
                                    <span class="price" th:text="'￥'+${andRentTypeVO1.properties.price}+'/Month'"></span>
                                </div>
                            </div>
                            
                        </div>
                        <!--Sidebar Property end-->
                        
                    </div>
                    
                    <!--Sidebar start-->
                    <div class="sidebar">
                        <h4 class="sidebar-title"><span class="text">Top Agents</span><span class="shape"></span></h4>
                        
                        <!--Sidebar Agents start-->
                        <div class="sidebar-agent-list">
                            
                            <div class="sidebar-agent">
                                <div class="image">
                                    <a href="single-properties.html"><img src="assets/images/agent/agent-1.jpg" alt=""></a>
                                </div>
                                <div class="content">
                                    <h5 class="title"><a href="single-properties.html">Donald Palmer</a></h5>
                                    <a href="#" class="phone">(756) 447 5779</a>
                                    <span class="properties">5房</span>
                                    <div class="social">
                                        <a href="#" class="facebook"><i class="fa fa-facebook"></i></a>
                                        <a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
                                        <a href="#" class="linkedin"><i class="fa fa-linkedin"></i></a>
                                        <a href="#" class="google"><i class="fa fa-google-plus"></i></a>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="sidebar-agent">
                                <div class="image">
                                    <a href="single-properties.html"><img src="assets/images/agent/agent-2.jpg" alt=""></a>
                                </div>
                                <div class="content">
                                    <h5 class="title"><a href="single-properties.html">Sean Hamilton</a></h5>
                                    <a href="#" class="phone">(756) 447 5779</a>
                                    <span class="properties">5房</span>
                                    <div class="social">
                                        <a href="#" class="facebook"><i class="fa fa-facebook"></i></a>
                                        <a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
                                        <a href="#" class="instagram"><i class="fa fa-instagram"></i></a>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="sidebar-agent">
                                <div class="image">
                                    <a href="single-properties.html"><img src="assets/images/agent/agent-3.jpg" alt=""></a>
                                </div>
                                <div class="content">
                                    <h5 class="title"><a href="single-properties.html">Christine Gilbert</a></h5>
                                    <a href="#" class="phone">(756) 447 5779</a>
                                    <span class="properties">5房</span>
                                    <div class="social">
                                        <a href="#" class="facebook"><i class="fa fa-facebook"></i></a>
                                        <a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
                                        <a href="#" class="skype"><i class="fa fa-skype"></i></a>
                                        <a href="#" class="pinterest"><i class="fa fa-pinterest"></i></a>
                                    </div>
                                </div>
                            </div>
                            
                        </div>
                        <!--Sidebar Agents end-->
                        
                    </div>
                    
                    <!--Sidebar start-->
                    <div class="sidebar">
                        <h4 class="sidebar-title"><span class="text">Popular Tags</span><span class="shape"></span></h4>
                        
                        <!--Sidebar Tags start-->
                        <div class="sidebar-tags">
                            <a href="#">Houses</a>
                            <a href="#">Real Home</a>
                            <a href="#">Baths</a>
                            <a href="#">Beds</a>
                            <a href="#">Garages</a>
                            <a href="#">Family</a>
                            <a href="#">Real Estates</a>
                            <a href="#">Properties</a>
                            <a href="#">Location</a>
                            <a href="#">Price</a>
                        </div>
                        <!--Sidebar Tags end-->
                    
                    </div>
            
                </div>
                
            </div>
        </div>
    </div>
    <!--New property section end-->


    <!--Footer section start-->
    <div th:replace="layout::footer"></div>
    <!--Footer section end-->
</div>

<!-- Placed js at the end of the document so the pag es load faster -->

<!-- All jquery file included here -->
<div th:replace="layout::js"></div>
<script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=PlhFWpA02aoURjAOpnWcRGqw7AI8EEyO"></script>
<script>
    //百度地图API功能。
    //创建Map实例
    var map = new BMap.Map("single-property-map");
    //初始化地图，设置中心点坐标和地图级别
    // map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
    //添加地图类型控件
    map.addControl(new BMap.MapTypeControl({
        mapTypes: [
            BMAP_NORMAL_MAP,
            BMAP_HYBRID_MAP
        ]
    }));
    //开始鼠标滚轮缩放
    map.enableScrollWheelZoom(true);
    //根据城市名设置地图中心
    map.centerAndZoom("四川省成都市双流区公新镇",18);

</script>
</body>

</html>
